package down.xiaoheihe.work.Mapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface Mysql {
    @Update("INSERT into t_images(product_id,url) VALUES(#{id},#{url});")
    void insert(Integer id, String url);

    @Update(value = "update user set image=#{url} where uid=#{id}")
    void update(Integer id, String url);
}
